immodule: Clean up loading code
authorBenjamin Otte <otte@redhat.com>
Sun, 20 Jan 2019 23:48:48 +0000 (00:48 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 22 Jan 2019 03:33:11 +0000 (04:33 +0100)
commit7978e0496377556b88f5bba24844c94311a58ebc
tree05cc6c9ab853b8d287b8de81ff89eefb81964dcc
parentbbd1532f84da5ab9b1e76b004fce13722c4cb673
immodule: Clean up loading code

Remove the unneeded is_platform() check and just go by extension point
priority.

Also g_error() out if no im module exists, because "simple" is compiled
in and should always exist.
gtk/gtkimmodule.c